home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nvidia-common.postinst < prev    next >
Text File  |  2009-10-29  |  600b  |  23 lines

  1. #!/bin/sh -e
  2. . /usr/share/debconf/confmodule
  3.  
  4. db_stop
  5.  
  6. # remove leftover file from linux-restricted-modules-common that
  7. # can cause trouble on upgrades (LP: #459829)
  8. if dpkg --compare-versions "$2" lt-nl "0.2.15.1"; then
  9.     rm -f /etc/modprobe.d/lrm-video 
  10. fi
  11.  
  12. # Automatically added by dh_pycentral
  13. rm -f /var/lib/pycentral/nvidia-common.pkgremove
  14. if which pycentral >/dev/null 2>&1; then
  15.     pycentral pkginstall nvidia-common
  16.     if grep -qs '^nvidia-common$' /var/lib/pycentral/delayed-pkgs; then
  17.         sed -i '/^nvidia-common$/d' /var/lib/pycentral/delayed-pkgs
  18.     fi
  19. fi
  20. # End automatically added section
  21.  
  22.  
  23.